package cn.ronghuanet.auth.mapper;

import cn.ronghuanet.auth.domain.Role;
import cn.ronghuanet.auth.dto.RoleDTO;
import cn.ronghuanet.auth.query.RoleQuery;
import cn.ronghuanet.base.mapper.BaseMapper;
import com.fasterxml.jackson.databind.ser.Serializers;

import java.util.List;

public interface RoleMapper extends BaseMapper<Role> {

    void setRolePermission(RoleDTO roleDTO);

    List<String> getRolePermission(Long id);

    void deleteAll(Long id);

}

